/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;

using Newtonsoft.Json;

namespace JDCloudSDK.Redis.Model
{

    /// <summary>
    ///  缓存Redis实例的规格信息
    /// </summary>
    public class InstanceClass
    {

        ///<summary>
        /// 规格代码：redis 2.8与redis 4.0的规格码不同，具体参考 https://docs.jdcloud.com/cn/jcs-for-redis/specifications
        ///</summary>
        [JsonProperty("instanceClass")]
        public string InstanceClassValue{ get; set; }
        ///<summary>
        /// 规格类型：master-slave表示主从版，cluster表示集群版
        ///</summary>
        public string InstanceType{ get; set; }
        ///<summary>
        /// cpu核数
        ///</summary>
        public int? Cpu{ get; set; }
        ///<summary>
        /// 内存总容量（MB）
        ///</summary>
        public int? MemoryMB{ get; set; }
        ///<summary>
        /// 磁盘总容量（GB）
        ///</summary>
        public int? DiskGB{ get; set; }
        ///<summary>
        /// 最大连接数
        ///</summary>
        public int? MaxConnection{ get; set; }
        ///<summary>
        /// 内网带宽（MBps）
        ///</summary>
        public int? BandwidthMbps{ get; set; }
    }
}
